package com.qqtech.qquan.sms.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class SmsProvider extends BaseDomain{

	//columns START
    /** 产商名称 */
	private java.lang.String name;
    /** 厂商开发平台登录地址 */
	private java.lang.String loginUrl;
    /** 厂商开发平台登陆用户名 */
	private java.lang.String loginName;
    /** 厂商开发平台登陆密码 */
	private java.lang.String loginPassword;
    /** appUrl */
	private java.lang.String appUrl;
    /** appKey */
	private java.lang.String appKey;
    /** appSecret */
	private java.lang.String appSecret;
    /** 优先级,1为优先级最高，数字越大优先级越低 */
	private Integer priority;
    /** 是否支持群发:1-是;2-否 */
	private java.lang.Integer isMass;
    /** 状态:1-正常;2-停用 */
	private java.lang.Integer status;
    /** 备注 */
	private java.lang.String remark;
	//columns END
	public SmsProvider(){
	}

	public SmsProvider( java.lang.Integer id ){
		this.id = id;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setLoginUrl(java.lang.String loginUrl) {
		this.loginUrl = loginUrl;
	}

	public java.lang.String getLoginUrl() {
		return this.loginUrl;
	}
	
	public void setLoginName(java.lang.String loginName) {
		this.loginName = loginName;
	}

	public java.lang.String getLoginName() {
		return this.loginName;
	}
	
	public void setLoginPassword(java.lang.String loginPassword) {
		this.loginPassword = loginPassword;
	}

	public java.lang.String getLoginPassword() {
		return this.loginPassword;
	}
	
	public void setAppUrl(java.lang.String appUrl) {
		this.appUrl = appUrl;
	}

	public java.lang.String getAppUrl() {
		return this.appUrl;
	}
	
	public void setAppKey(java.lang.String appKey) {
		this.appKey = appKey;
	}

	public java.lang.String getAppKey() {
		return this.appKey;
	}
	
	public void setAppSecret(java.lang.String appSecret) {
		this.appSecret = appSecret;
	}

	public java.lang.String getAppSecret() {
		return this.appSecret;
	}
	
	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getPriority() {
		return this.priority;
	}
	
	public void setIsMass(java.lang.Integer isMass) {
		this.isMass = isMass;
	}

	public java.lang.Integer getIsMass() {
		return this.isMass;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

